package com.v2.k40;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试初始化5 @PostConstruct
 * 要注释掉TestBeanPostProcessor的@Component注解（跟里面方法返回null有关系），才能让@PostConstruct有效
 */
public class Test {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);
	}

}
